package com.wanho.activemq.spring.queue;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class QueueConsumer {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/spring/application-activemq.xml") ;
        try{
            System.in.read() ;
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
